package edu.lingnan.librarymanage.core.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author cql
 */
@Data
public class LoginUserDTO {

    @NotBlank(message = "请输入用户名")
    private String account;

    @NotBlank(message = "请输入密码")
    private String password;

    private boolean admin;

    @NotBlank(message = "请输入验证码")
    private String code;

    private String realCode;

    private Long expires;

}
